package com.qingcloud.wcenter.model.sdata.params;

import com.qingcloud.wcenter.model.TablePageParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 站点数据参数
 */
@Data
public class StationDataParams extends TablePageParams {

    @ApiModelProperty(value = "站点编号", dataType = "List", allowableValues = "F009FA0029")
    private List<String> stationIdList;

    @ApiModelProperty(value = "1.分钟 2.小时 3.天 4.5分钟 5.10分钟 6.月", example = "1", allowableValues = "1,2,3")
    private Integer dateType;

    @ApiModelProperty(value = "开始时间", example = "2018-09-10 12:00:00")
    private String startTime;

    @ApiModelProperty(value = "截止时间", example = "2018-09-10 13:00:00")
    private String endTime;

    @ApiModelProperty(value = "开始时间", example = "12:00")
    private String startHour;

    @ApiModelProperty(value = "截止时间", example = "13:00")
    private String endHour;

    @ApiModelProperty(value = "数据时间指定周内 周一到周日 1,2,3,4,5,6,7", dataType = "List", allowableValues = "1")
    private List<Integer> weekList;

    @ApiModelProperty(value = "等级或级别参数 0所有，1.一级或一般 2.二级或紧急 3.三级或特别紧急", example = "0")
    private Integer level;

    @ApiModelProperty(value = "大楼id", example = "10")
    private Integer moId;

    @Override
    public String toString() {
        return "EquipmentDataParams{" + super.toString() +
                "stationIdList=" + stationIdList +
                ", dateType=" + dateType +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", level=" + level +
                ", moId=" + moId +
                '}';
    }
}
